package com.ruoyi.commodity.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品管理对象 m_commodity
 * 
 * @author ruoyi
 * @date 2024-10-24
 */
public class MCommodity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    private Long commodityId;

    /** 商品名 */
    @Excel(name = "商品名")
    private String commodityName;

    public void setCommodityId(Long commodityId) 
    {
        this.commodityId = commodityId;
    }

    public Long getCommodityId() 
    {
        return commodityId;
    }
    public void setCommodityName(String commodityName) 
    {
        this.commodityName = commodityName;
    }

    public String getCommodityName() 
    {
        return commodityName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commodityId", getCommodityId())
            .append("commodityName", getCommodityName())
            .toString();
    }
}
